package com.qf.uuid;

import java.util.UUID;

/**
 * @author yangl
 * @version 1.0
 * @date 2023/4/24 15:58
 */
public class UUIDTest {
    public static void main(String[] args) {

        UUID uuid = UUID.randomUUID();
        System.out.println(uuid);

        String strUUID = uuid.toString().replace("-","");
        System.out.println(strUUID);

    }
}
